<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新建档案</title>
    <link rel="stylesheet" href="/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/dist/bootstrap-table.min.css">
    <link rel="stylesheet" href="/css/home.css">
    <script src="/js/jquery-3.3.1.min.js"></script>
    <script src="/dist/js/bootstrap.min.js"></script>
    <script src="/dist/bootstrap-table.min.js"></script>
    <script src="/dist/locale/bootstrap-table-zh-CN.min.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="/css/document.css"/>

</head>
<body>
<div class="table">
    <div class="drug-title">
        <h1>吸毒人员登记表</h1>
    </div>
    <table id="custom">
        <tr>
            <td class="column-1">姓名</td>
            <td class="column-2"><input name="xing-ming" type="text"/></td>
            <td>绰号/别名</td>
            <td><input name="bie-ming" type="text"></td>
            <td>性别</td>
            <td><input type="text" name="sex"></td>
            <td rowspan="4" class="column-image">
                <input id="avatarUrl" name="avatar-url" type="file" onchange="uploadAvatarUrl()"
                       style="width:160px;height:160px;opacity: 0;">
                <img id="avatarImage" src="" width="160" height="160">
                <span class='iconfont icon-icon icon-del' onclick='del_img()'></span>
            </td>
        </tr>
        <tr>
            <td class="column-1">民族</td>
            <td class="column-2"><input name="min-zu" type="text"></td>
            <td>出生日期</td>
            <td><input name="birthday" type="text"></td>
            <td>身高</td>
            <td><input name="shen-gao" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">身份证号</td>
            <td colspan="5"><input name="id-number" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">联系方式</td>
            <td colspan="2"><input name="tel-phone" type="text"></td>
            <td class="column-row47">身体状况</td>
            <td colspan="2"><input name="shen-ti" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">文化程度</td>
            <td colspan="2"><input name="culture-degree" type="text"></td>
            <td class="column-row47">工作单位</td>
            <td colspan="3"><input name="work-address" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">户籍地派出所</td>
            <td colspan="2"><input name="hjdpcs" type="text"></td>
            <td class="column-row47">户籍地详址</td>
            <td colspan="3"><input name="hjdxz" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">居住地派出所</td>
            <td colspan="2"><input name="jzdpcs" type="text"></td>
            <td class="column-row47">居住地详址</td>
            <td colspan="3"><input name="jzdxz" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">就业情况</td>
            <td colspan="6"><input name="jyqk" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">滥用毒品种类</td>
            <td colspan="6"><input name="drug-type" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">查获日期</td>
            <td colspan="2"><input name="seizure-date" type="text"></td>
            <td>查获单位</td>
            <td colspan="3"><input name="seizure-unit" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">查获地点</td>
            <td colspan="6"><input name="location-seizure" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">涉案性质</td>
            <td colspan="6"><input name="nature-case" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">违法事实</td>
            <td colspan="6"><input name="fact-malfeasance" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">戒毒情况</td>
            <td colspan="4"><input name="abandon-drug" type="text"></td>
            <td>戒毒期限</td>
            <td><input name="abandon-date" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">登记时间</td>
            <td colspan="2"><input name="register-time" type="text"></td>
            <td>吸毒日期</td>
            <td colspan="3"><input name="drug-date" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">登记人</td>
            <td colspan="6"><input name="register-person" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">登记单位</td>
            <td colspan="6"><input name="register-unit" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">备注</td>
            <td colspan="6"><input name="remarks" type="text"></td>
        </tr>
        <tr>
            <td class="column-1">附件</td>
            <td colspan="6">
                <input id="file" type="file" name="file-enclosure" onchange="uploadEnclosure()">
                <a id="enclosure"></a>
            </td>
        </tr>
    </table>
    <div class="save">
        <button id="submit" type="button" class="btn btn-default submit-btn">提交</button>
    </div>
</div>
<script src="js/ajax.js"></script>
<script src="js/model.js"></script>
<script src="js/newDocument.js"></script>
</body>
</html>